// ErrorView.cpp : implementation file
//

#include "stdafx.h"
#include "MFCCompiler.h"
#include "ErrorView.h"


// CErrorView

IMPLEMENT_DYNCREATE(CErrorView, CEditView)

CErrorView::CErrorView()
{

}

CErrorView::~CErrorView()
{
}

BEGIN_MESSAGE_MAP(CErrorView, CEditView)
END_MESSAGE_MAP()


// CErrorView diagnostics

#ifdef _DEBUG
void CErrorView::AssertValid() const
{
	CEditView::AssertValid();
}

#ifndef _WIN32_WCE
void CErrorView::Dump(CDumpContext& dc) const
{
	CEditView::Dump(dc);
}
#endif
#endif //_DEBUG


// CErrorView message handlers


BOOL CErrorView::PreCreateWindow(CREATESTRUCT& cs)
{
	// TODO: Add your specialized code here and/or call the base class
	BOOL bPreCreated = CEditView::PreCreateWindow(cs);  
	cs.style &= ~(ES_AUTOHSCROLL|WS_HSCROLL); // Enable word-wrapping  
	cs.style |=ES_READONLY; 
	return bPreCreated;
}
